﻿using System;

namespace Nereus.Attributes
{
    [AttributeUsage(AttributeTargets.Method)]
    public class NMethodAttribute : Attribute
    {
        public string Code { get; set; }

        public string Name { get; set; }

        public string Description { get; set; }

        public string Method { get; set; } = "POST";

        public bool Enable { get; set; } = true;

        public string Uri { get; set; }

        public Type Argument { get; set; }

        public string ResultExplain { get; set; }

        public Type Result { get; set; }
    }
}
